projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b84b8df
)
Support file names with whitespace in Nroff mode
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 6 Feb 2021 13:09:32 +0000
(15:09 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 6 Feb 2021 13:09:32 +0000
(15:09 +0200)
* lisp/textmodes/nroff-mode.el (nroff-view): Quote argument of
'Man-getpage-in-background' to support file names with special
characters. (Bug#46051)
lisp/textmodes/nroff-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/nroff-mode.el
b/lisp/textmodes/nroff-mode.el
index fe70e925b05f76a40e1e53697b96722694b21114..e7d852be3c831319121f1f7c7f1b667794f4da53 100644
(file)
--- a/
lisp/textmodes/nroff-mode.el
+++ b/
lisp/textmodes/nroff-mode.el
@@
-316,7
+316,7
@@
otherwise off."
(save-buffer))
(if viewbuf
(kill-buffer viewbuf))
- (Man-getpage-in-background
file
)))
+ (Man-getpage-in-background
(shell-quote-argument file)
)))
(provide 'nroff-mode)